package com.xianbeiying.app.ckgl.bean;

import java.util.List;

/**
 * 生成阶段信息
 */
public class GrowBean {

    /**
     * K : GET_CROP_STEP_INFO
     * V : {"CROPSTEPINFOS":[{"stepId":1,"plantType":0,"plantName":"种植","stepName":"生长期","stepColor":"00ff00","stepColorName":"绿色"},{"stepId":2,"plantType":0,"plantName":"种植","stepName":"开花期","stepColor":"ff0000","stepColorName":"红色"},{"stepId":3,"plantType":0,"plantName":"种植","stepName":"结果期","stepColor":"0000ff","stepColorName":"蓝色"},{"stepId":4,"plantType":0,"plantName":"种植","stepName":"成熟期","stepColor":"ffff00","stepColorName":"黄色"}]}
     * R : true
     * ERR_MSG :
     */

    private String K;
    private VBean V;
    private boolean R;
    private String ERR_MSG;

    public String getK() {
        return K;
    }

    public void setK(String K) {
        this.K = K;
    }

    public VBean getV() {
        return V;
    }

    public void setV(VBean V) {
        this.V = V;
    }

    public boolean isR() {
        return R;
    }

    public void setR(boolean R) {
        this.R = R;
    }

    public String getERR_MSG() {
        return ERR_MSG;
    }

    public void setERR_MSG(String ERR_MSG) {
        this.ERR_MSG = ERR_MSG;
    }

    public static class VBean {
        /**
         * stepId : 1
         * plantType : 0
         * plantName : 种植
         * stepName : 生长期
         * stepColor : 00ff00
         * stepColorName : 绿色
         */

        private List<CROPSTEPINFOSBean> CROPSTEPINFOS;

        public List<CROPSTEPINFOSBean> getCROPSTEPINFOS() {
            return CROPSTEPINFOS;
        }

        public void setCROPSTEPINFOS(List<CROPSTEPINFOSBean> CROPSTEPINFOS) {
            this.CROPSTEPINFOS = CROPSTEPINFOS;
        }

        public static class CROPSTEPINFOSBean {
            private int stepId;
            private int plantType;
            private String plantName;
            private String stepName;
            private String stepColor;
            private String stepColorName;

            public int getStepId() {
                return stepId;
            }

            public void setStepId(int stepId) {
                this.stepId = stepId;
            }

            public int getPlantType() {
                return plantType;
            }

            public void setPlantType(int plantType) {
                this.plantType = plantType;
            }

            public String getPlantName() {
                return plantName;
            }

            public void setPlantName(String plantName) {
                this.plantName = plantName;
            }

            public String getStepName() {
                return stepName;
            }

            public void setStepName(String stepName) {
                this.stepName = stepName;
            }

            public String getStepColor() {
                return stepColor;
            }

            public void setStepColor(String stepColor) {
                this.stepColor = stepColor;
            }

            public String getStepColorName() {
                return stepColorName;
            }

            public void setStepColorName(String stepColorName) {
                this.stepColorName = stepColorName;
            }
        }
    }
}
